<template>
  <div class="about">
    <p>搬砖总共挣了{{money}}钱</p>
  </div>
</template>
<script>
import { mapGetters } from 'vuex'
// getters 的辅助函数 mapGetters
export default {
  computed:{
    ...mapGetters([
      'money'
    ])
  }
}
</script>